package com.gl.goods.net;


import com.gl.goods.base.BaseBean;
import com.gl.goods.ui.login.bean.UserInfoBean;
import com.gl.goods.ui.main.bean.HomeAdvertisementListBean;

import java.util.Map;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

public interface ApiService {
    /** hmc:获取首页轮播图*/
    @GET("/app/v1/home/looper")
    Flowable<HomeAdvertisementListBean> getAdvertisementList();

    /** hmc:获取用户信息*/
    @POST("/app/user/info")
    Flowable<UserInfoBean> getUserInfo();

    /** hmc:退出登录*/
    @POST("/app/user/logout")
    Flowable<BaseBean> logout();
}
